<template>
  <el-form class="Mainset" size="large">
    <el-row>
      <el-col :span="18">
        <el-form-item label="项目名称" prop="projectName">
          <el-input></el-input>
        </el-form-item>
      </el-col>
      <el-col :span="2"></el-col>
      <el-col :span="3">
        <el-form-item prop="classify">
          <el-select clearable placeholder="类别" class="formSelect">
            <el-option class="formSelect" style="max-width: 80px" />
          </el-select>
        </el-form-item>
      </el-col>
    </el-row>

    <el-row>
      <el-col :span="8">
        <el-form-item label="项目人数" prop="total">
          <div class="slider-demo-block">
            <el-slider style="margin-left: 10px" :max="10" :min="2" />
          </div>
        </el-form-item>
      </el-col>
      <el-col :span="2"></el-col>
      <el-form-item label="项目进度" prop="projectStatus" class="formSelect">
        <el-select size="large" style="width: 60%">
          <el-option />
        </el-select>
      </el-form-item>
    </el-row>
    <el-form-item>
      <el-upload
        class="upload-demo"
        accept=".jpg,.jpeg,.png"
        list-type="picture"
        :auto-upload="false"
      >
        <el-button type="primary" size="default">上传图片</el-button>
        <template #tip>
          <div class="el-upload__tip">jpg/jpeg/png 大小不能超过5MB</div>
        </template>
      </el-upload>
    </el-form-item>
    <el-form-item label="项目介绍" prop="projectDescription" size="large">
      <el-row>
        <el-input type="textarea" style="height: 200%" :rows="5" />
        <el-col style="margin: 0 20px; font-size: 13px; color: #a9a9a9"
          >( 字数 / 230 )</el-col
        >
      </el-row>
    </el-form-item>
    <el-form-item>
      <el-button type="primary" size="default"> 提交 </el-button>
      <el-button size="default">重置</el-button>
    </el-form-item>
  </el-form>
</template>

<style lang="scss" scoped>
.Mainset {
  margin: 70px auto;
  max-width: 800px;
}
:deep(.el-form-item__content) {
  display: block;
}
.formSelect {
  margin: 0 auto;
}
</style>
